function InitMap(environment)
	Spawn_0 = Spawn(0)
	Spawn_0:SetPosX(20)
	Spawn_0:SetPosY(4.1)
	Spawn_0:SetPosZ(28)
	Spawn_0:SetName("DefaultSpawn")
	Spawn_0:SetForceRotation(true)
	Spawn_0:SetRotation(0)
	environment:AddSpawn(Spawn_0)

	Spawn_1 = Spawn(1)
	Spawn_1:SetPosX(4)
	Spawn_1:SetPosY(4)
	Spawn_1:SetPosZ(46)
	Spawn_1:SetName("Spawn-LoungeLeft")
	environment:AddSpawn(Spawn_1)

	Spawn_2 = Spawn(2)
	Spawn_2:SetPosX(4)
	Spawn_2:SetPosY(4)
	Spawn_2:SetPosZ(13)
	Spawn_2:SetName("Spawn-LoungeRight")
	environment:AddSpawn(Spawn_2)

	Spawn_3 = Spawn(3)
	Spawn_3:SetPosX(8)
	Spawn_3:SetPosY(4)
	Spawn_3:SetPosZ(31)
	Spawn_3:SetName("Spawn-Cargo")
	environment:AddSpawn(Spawn_3)

	Spawn_4 = Spawn(4)
	Spawn_4:SetPosX(16)
	Spawn_4:SetPosY(4)
	Spawn_4:SetPosZ(42)
	Spawn_4:SetName("Spawn-S1")
	environment:AddSpawn(Spawn_4)

	Spawn_5 = Spawn(5)
	Spawn_5:SetPosX(26)
	Spawn_5:SetPosY(4)
	Spawn_5:SetPosZ(42)
	Spawn_5:SetName("Spawn-S2")
	environment:AddSpawn(Spawn_5)

	Spawn_6 = Spawn(6)
	Spawn_6:SetPosX(36)
	Spawn_6:SetPosY(4)
	Spawn_6:SetPosZ(42)
	Spawn_6:SetName("Spawn-S3")
	environment:AddSpawn(Spawn_6)

	Spawn_7 = Spawn(7)
	Spawn_7:SetPosX(46)
	Spawn_7:SetPosY(4)
	Spawn_7:SetPosZ(42)
	Spawn_7:SetName("Spawn-S4")
	environment:AddSpawn(Spawn_7)

	Spawn_8 = Spawn(8)
	Spawn_8:SetPosX(54)
	Spawn_8:SetPosY(4)
	Spawn_8:SetPosZ(36)
	Spawn_8:SetName("Spawn-Captains")
	environment:AddSpawn(Spawn_8)

	Spawn_9 = Spawn(9)
	Spawn_9:SetPosX(54)
	Spawn_9:SetPosY(4)
	Spawn_9:SetPosZ(23)
	Spawn_9:SetName("Spawn-Brig")
	environment:AddSpawn(Spawn_9)

	Spawn_10 = Spawn(10)
	Spawn_10:SetPosX(16)
	Spawn_10:SetPosY(4)
	Spawn_10:SetPosZ(17)
	Spawn_10:SetName("Spawn-P1")
	environment:AddSpawn(Spawn_10)

	Spawn_11 = Spawn(11)
	Spawn_11:SetPosX(26)
	Spawn_11:SetPosY(4)
	Spawn_11:SetPosZ(17)
	Spawn_11:SetName("Spawn-P2")
	environment:AddSpawn(Spawn_11)

	Spawn_12 = Spawn(12)
	Spawn_12:SetPosX(36)
	Spawn_12:SetPosY(4)
	Spawn_12:SetPosZ(17)
	Spawn_12:SetName("Spawn-P3")
	environment:AddSpawn(Spawn_12)

	Spawn_13 = Spawn(13)
	Spawn_13:SetPosX(46)
	Spawn_13:SetPosY(4)
	Spawn_13:SetPosZ(17)
	Spawn_13:SetName("Spawn-P4")
	environment:AddSpawn(Spawn_13)

	Spawn_14 = Spawn(14)
	Spawn_14:SetPosX(30.5)
	Spawn_14:SetPosY(4)
	Spawn_14:SetPosZ(18)
	Spawn_14:SetName("Spawn-EntertainmentTop")
	environment:AddSpawn(Spawn_14)

	Spawn_15 = Spawn(15)
	Spawn_15:SetPosX(31)
	Spawn_15:SetPosY(4)
	Spawn_15:SetPosZ(41)
	Spawn_15:SetName("Spawn-EntertainmentBottom")
	environment:AddSpawn(Spawn_15)

	Spawn_16 = Spawn(16)
	Spawn_16:SetPosX(18)
	Spawn_16:SetPosY(4)
	Spawn_16:SetPosZ(29)
	Spawn_16:SetName("Spawn-Retail")
	environment:AddSpawn(Spawn_16)

	Spawn_17 = Spawn(17)
	Spawn_17:SetPosX(50)
	Spawn_17:SetPosY(4)
	Spawn_17:SetPosZ(30)
	Spawn_17:SetName("Spawn-Outside")
	environment:AddSpawn(Spawn_17)

	Spawn_18 = Spawn(18)
	Spawn_18:SetPosX(44)
	Spawn_18:SetPosY(4)
	Spawn_18:SetPosZ(29)
	Spawn_18:SetName("Spawn-Upper")
	environment:AddSpawn(Spawn_18)

	Actor_5 = ActorObjectInfo(5)
	Actor_5:SetRenderType(1)
	Actor_5.HitPowerOnTouch = -1
	Actor_5.ExcludeFromNavMesh = false
	Actor_5.DisplayDesc.ModelId = 0
	Actor_5.DisplayDesc.ModelName = "Worlds/Colozen/Grids/SSastaroth/Boat1-LowerDeck.osgb"
	Actor_5.DisplayDesc.Outfit = ""
	Actor_5.DisplayDesc.Weapon = ""
	Actor_5.DisplayDesc.Mode = ""
	Actor_5.DisplayDesc.UseLight = true
	Actor_5.DisplayDesc.CastShadow = true
	Actor_5.DisplayDesc.ColorR = 1
	Actor_5.DisplayDesc.ColorG = 1
	Actor_5.DisplayDesc.ColorB = 1
	Actor_5.DisplayDesc.ColorA = 1
	Actor_5.DisplayDesc.TransX = 0
	Actor_5.DisplayDesc.TransY = 0
	Actor_5.DisplayDesc.TransZ = 0
	Actor_5.DisplayDesc.ScaleX = 1
	Actor_5.DisplayDesc.ScaleY = 1
	Actor_5.DisplayDesc.ScaleZ = 1
	Actor_5.DisplayDesc.RotX = 0
	Actor_5.DisplayDesc.RotY = 0
	Actor_5.DisplayDesc.RotZ = 0
	Actor_5:SetModelState(2)
	Actor_5.DisplayDesc.UseBillboard = false
	Actor_5.PhysicDesc.Pos.X = 0
	Actor_5.PhysicDesc.Pos.Y = 0
	Actor_5.PhysicDesc.Pos.Z = 0
	Actor_5.PhysicDesc.Pos.Rotation = 0
	Actor_5.PhysicDesc.Density = 1
	Actor_5.PhysicDesc.Collidable = true
	Actor_5.PhysicDesc.SizeX = 1
	Actor_5.PhysicDesc.SizeY = 1
	Actor_5.PhysicDesc.SizeZ = 1
	Actor_5.PhysicDesc.AllowFreeMove = true
	Actor_5.PhysicDesc.Filename = "Worlds/Colozen/Grids/SSastaroth/Boat1-LowerDeck.phy"
	Actor_5:SetPhysicalActorType(1)
	Actor_5:SetPhysicalShape(5)
	Actor_5.ExtraInfo.Name = ""
	Actor_5.ExtraInfo.NameColorR = 1
	Actor_5.ExtraInfo.NameColorG = 1
	Actor_5.ExtraInfo.NameColorB = 1
	Actor_5.ExtraInfo.Display = false
	Actor_5.LifeInfo.Display = false
	Actor_5H = ActorHandler(Actor_5)
	environment:AddActorObject(Actor_5H)

	Trigger_1_info = TriggerInfo(1, "Exit-Retail", true, true, false)
	Trigger_1 = ZoneTrigger(Trigger_1_info, 1, 8, 2, true)
	Trigger_1:SetPosition(16.5, 4, 29)
	Trigger_1:SetStayUpdateFrequency(-1)
	Trigger_1:SetActivateOnJump(true)
	Trigger_1_act1 = TeleportAction()
	Trigger_1_act1:SetMapName("SSAstaroth-Retail")
	Trigger_1_act1:SetSpawning(1)
	Trigger_1:SetAction1(Trigger_1_act1)
	environment:AddTrigger(Trigger_1)

	Trigger_2_info = TriggerInfo(2, "Exit-EntertainmentBottom", true, true, false)
	Trigger_2 = ZoneTrigger(Trigger_2_info, 2, 8, 1, true)
	Trigger_2:SetPosition(31, 4, 39.5)
	Trigger_2:SetStayUpdateFrequency(-1)
	Trigger_2:SetActivateOnJump(true)
	Trigger_2_act1 = TeleportAction()
	Trigger_2_act1:SetMapName("SSAstaroth-Entertainment")
	Trigger_2_act1:SetSpawning(2)
	Trigger_2:SetAction1(Trigger_2_act1)
	environment:AddTrigger(Trigger_2)

	Trigger_3_info = TriggerInfo(3, "Exit-EntertainmentTop", true, true, false)
	Trigger_3 = ZoneTrigger(Trigger_3_info, 2, 8, 1, true)
	Trigger_3:SetPosition(31, 4, 19.5)
	Trigger_3:SetStayUpdateFrequency(-1)
	Trigger_3:SetActivateOnJump(true)
	Trigger_3_act1 = TeleportAction()
	Trigger_3_act1:SetMapName("SSAstaroth-Entertainment")
	Trigger_3_act1:SetSpawning(1)
	Trigger_3:SetAction1(Trigger_3_act1)
	environment:AddTrigger(Trigger_3)

	Trigger_4_info = TriggerInfo(4, "Exit-Brig", true, true, false)
	Trigger_4 = ZoneTrigger(Trigger_4_info, 1, 8, 2, true)
	Trigger_4:SetPosition(52.5, 4, 23)
	Trigger_4:SetStayUpdateFrequency(-1)
	Trigger_4:SetActivateOnJump(true)
	Trigger_4_act1 = TeleportAction()
	Trigger_4_act1:SetMapName("SSAstaroth-Brig")
	Trigger_4_act1:SetSpawning(1)
	Trigger_4:SetAction1(Trigger_4_act1)
	environment:AddTrigger(Trigger_4)

	Trigger_5_info = TriggerInfo(5, "Exit-CaptainsQuarters", true, true, false)
	Trigger_5 = ZoneTrigger(Trigger_5_info, 1, 8, 2, true)
	Trigger_5:SetPosition(52.5, 4, 36)
	Trigger_5:SetStayUpdateFrequency(-1)
	Trigger_5:SetActivateOnJump(true)
	Trigger_5_act1 = TeleportAction()
	Trigger_5_act1:SetMapName("SSAstaroth-CaptainsQuarters")
	Trigger_5_act1:SetSpawning(1)
	Trigger_5:SetAction1(Trigger_5_act1)
	environment:AddTrigger(Trigger_5)

	Trigger_6_info = TriggerInfo(6, "Exit-S1", true, true, false)
	Trigger_6 = ZoneTrigger(Trigger_6_info, 2, 8, 1, true)
	Trigger_6:SetPosition(16, 4, 43.5)
	Trigger_6:SetStayUpdateFrequency(-1)
	Trigger_6:SetActivateOnJump(true)
	Trigger_6_act1 = TeleportAction()
	Trigger_6_act1:SetMapName("SSAstaroth-Starboard1")
	Trigger_6_act1:SetSpawning(1)
	Trigger_6:SetAction1(Trigger_6_act1)
	environment:AddTrigger(Trigger_6)

	Trigger_7_info = TriggerInfo(7, "Exit-S2", true, true, false)
	Trigger_7 = ZoneTrigger(Trigger_7_info, 2, 8, 1, true)
	Trigger_7:SetPosition(26, 4, 43.5)
	Trigger_7:SetStayUpdateFrequency(-1)
	Trigger_7:SetActivateOnJump(true)
	Trigger_7_act1 = TeleportAction()
	Trigger_7_act1:SetMapName("SSAstaroth-Starboard2")
	Trigger_7_act1:SetSpawning(1)
	Trigger_7:SetAction1(Trigger_7_act1)
	environment:AddTrigger(Trigger_7)

	Trigger_8_info = TriggerInfo(8, "Exit-S3", true, true, false)
	Trigger_8 = ZoneTrigger(Trigger_8_info, 2, 8, 1, true)
	Trigger_8:SetPosition(36, 4, 43.5)
	Trigger_8:SetStayUpdateFrequency(-1)
	Trigger_8:SetActivateOnJump(true)
	Trigger_8_act1 = TeleportAction()
	Trigger_8_act1:SetMapName("SSAstaroth-Starboard3")
	Trigger_8_act1:SetSpawning(1)
	Trigger_8:SetAction1(Trigger_8_act1)
	environment:AddTrigger(Trigger_8)

	Trigger_9_info = TriggerInfo(9, "Exit-S4", true, true, false)
	Trigger_9 = ZoneTrigger(Trigger_9_info, 2, 8, 1, true)
	Trigger_9:SetPosition(46, 4, 43.5)
	Trigger_9:SetStayUpdateFrequency(-1)
	Trigger_9:SetActivateOnJump(true)
	Trigger_9_act1 = TeleportAction()
	Trigger_9_act1:SetMapName("SSAstaroth-Starboard4")
	Trigger_9_act1:SetSpawning(1)
	Trigger_9:SetAction1(Trigger_9_act1)
	environment:AddTrigger(Trigger_9)

	Trigger_10_info = TriggerInfo(10, "Exit-P1", true, true, false)
	Trigger_10 = ZoneTrigger(Trigger_10_info, 2, 8, 1, true)
	Trigger_10:SetPosition(16, 4, 15.5)
	Trigger_10:SetStayUpdateFrequency(-1)
	Trigger_10:SetActivateOnJump(true)
	Trigger_10_act1 = TeleportAction()
	Trigger_10_act1:SetMapName("SSAstaroth-Portside1")
	Trigger_10_act1:SetSpawning(1)
	Trigger_10:SetAction1(Trigger_10_act1)
	environment:AddTrigger(Trigger_10)

	Trigger_11_info = TriggerInfo(11, "Exit-P2", true, true, false)
	Trigger_11 = ZoneTrigger(Trigger_11_info, 2, 8, 1, true)
	Trigger_11:SetPosition(26, 4, 15.5)
	Trigger_11:SetStayUpdateFrequency(-1)
	Trigger_11:SetActivateOnJump(true)
	Trigger_11_act1 = TeleportAction()
	Trigger_11_act1:SetMapName("SSAstaroth-Portside2")
	Trigger_11_act1:SetSpawning(1)
	Trigger_11:SetAction1(Trigger_11_act1)
	environment:AddTrigger(Trigger_11)

	Trigger_12_info = TriggerInfo(12, "Exit-P3", true, true, false)
	Trigger_12 = ZoneTrigger(Trigger_12_info, 2, 8, 1, true)
	Trigger_12:SetPosition(36, 4, 15.5)
	Trigger_12:SetStayUpdateFrequency(-1)
	Trigger_12:SetActivateOnJump(true)
	Trigger_12_act1 = TeleportAction()
	Trigger_12_act1:SetMapName("SSAstaroth-Portside3")
	Trigger_12_act1:SetSpawning(1)
	Trigger_12:SetAction1(Trigger_12_act1)
	environment:AddTrigger(Trigger_12)

	Trigger_13_info = TriggerInfo(13, "Exit-P4", true, true, false)
	Trigger_13 = ZoneTrigger(Trigger_13_info, 2, 8, 1, true)
	Trigger_13:SetPosition(46, 4, 15.5)
	Trigger_13:SetStayUpdateFrequency(-1)
	Trigger_13:SetActivateOnJump(true)
	Trigger_13_act1 = TeleportAction()
	Trigger_13_act1:SetMapName("SSAstaroth-Portside4")
	Trigger_13_act1:SetSpawning(1)
	Trigger_13:SetAction1(Trigger_13_act1)
	environment:AddTrigger(Trigger_13)

	Trigger_14_info = TriggerInfo(14, "Exit-LoungeLeft", true, true, false)
	Trigger_14 = ZoneTrigger(Trigger_14_info, 1, 8, 2, true)
	Trigger_14:SetPosition(5.5, 4, 46)
	Trigger_14:SetStayUpdateFrequency(-1)
	Trigger_14:SetActivateOnJump(true)
	Trigger_14_act1 = TeleportAction()
	Trigger_14_act1:SetMapName("SSAstaroth-Lounge")
	Trigger_14_act1:SetSpawning(4)
	Trigger_14:SetAction1(Trigger_14_act1)
	environment:AddTrigger(Trigger_14)

	Trigger_15_info = TriggerInfo(15, "Exit-LoungeRight", true, true, false)
	Trigger_15 = ZoneTrigger(Trigger_15_info, 1, 8, 2, true)
	Trigger_15:SetPosition(5.5, 4, 13)
	Trigger_15:SetStayUpdateFrequency(-1)
	Trigger_15:SetActivateOnJump(true)
	Trigger_15_act1 = TeleportAction()
	Trigger_15_act1:SetMapName("SSAstaroth-Lounge")
	Trigger_15_act1:SetSpawning(5)
	Trigger_15:SetAction1(Trigger_15_act1)
	environment:AddTrigger(Trigger_15)

	Trigger_16_info = TriggerInfo(16, "Exit-Cargo", true, true, false)
	Trigger_16 = ZoneTrigger(Trigger_16_info, 2, 8, 1, true)
	Trigger_16:SetPosition(8.1, 4, 29.5)
	Trigger_16:SetStayUpdateFrequency(-1)
	Trigger_16:SetActivateOnJump(true)
	Trigger_16_act1 = TeleportAction()
	Trigger_16_act1:SetMapName("SSAstaroth-Cargo")
	Trigger_16_act1:SetSpawning(1)
	Trigger_16:SetAction1(Trigger_16_act1)
	environment:AddTrigger(Trigger_16)

	Trigger_17_info = TriggerInfo(17, "Exit-Upper", true, true, false)
	Trigger_17 = ZoneActionTrigger(Trigger_17_info, 2, 8, 1, "Normal", "Sport")
	Trigger_17:SetPosition(44, 5, 28.7)
	Trigger_17_act1 = TeleportAction()
	Trigger_17_act1:SetMapName("SSAstaroth-UpperDeck")
	Trigger_17_act1:SetSpawning(1)
	Trigger_17:SetAction1(Trigger_17_act1)
	Trigger_17:SetPlayAnimation(false)
	environment:AddTrigger(Trigger_17)

	Trigger_18_info = TriggerInfo(18, "Exit-Outside", true, true, false)
	Trigger_18 = ZoneActionTrigger(Trigger_18_info, 2, 8, 1, "Normal", "Sport")
	Trigger_18:SetPosition(50, 4, 28.5)
	Trigger_18_act1 = TeleportAction()
	Trigger_18_act1:SetMapName("SSAstaroth")
	Trigger_18_act1:SetSpawning(5)
	Trigger_18:SetAction1(Trigger_18_act1)
	Trigger_18:SetPlayAnimation(false)
	environment:AddTrigger(Trigger_18)

end
